package com.gitee.vincentzyu.qwq_forge189.inventory;

import com.gitee.vincentzyu.qwq_forge189.item.ItemLoader;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.item.ItemStack;
import net.minecraft.stats.StatisticsFile;

public class AchievementContainer extends Container {
    public EntityPlayer player;
    public StatisticsFile statisticsFile;
    public AchievementContainer(EntityPlayer player, StatisticsFile statisticsFile){
        super();
        this.player = player;
        this.statisticsFile = statisticsFile;
    }

    @Override
    public boolean canInteractWith(EntityPlayer playerIn) {
        return new ItemStack(ItemLoader.qwqItem).isItemEqual(playerIn.getCurrentEquippedItem());
    }
}
